
    <div class="form-add">
    <?php admin_msg( $msg ); ?>
    <form name="add" action="<?php echo admin_link( 'menu/add' ) ?>" method="post">
        <table width="100%">         
            <tr>
                <td width="120">Tên menu</td>
                <td><input type="text" name="name" value="" maxlength="255" class="text" /></td>
            </tr>
             <tr>
                <td width="100">Liên kết tới</td>
                <td><input type="text" name="linktext" value="http://" maxlength="255" class="text" /></td>
            </tr>
            <tr>
                <td>Mô tả</td>
                <td><textarea name="description" class="text textarea2" cols="10" rows="10"></textarea></td>
            </tr> 
            <tr>
                <td colspan="2" class="h4">Định dạng</td>
            </tr>
            <tr>
                <td width="120">Tên class</td>
                <td><input type="text" name="style" value="" maxlength="100" class="text" /></td>
      		</tr>    
            <tr>
            	<td colspan="2" class="h4">Tùy chọn</td>
            </tr>
            <tr>
                <td>Vị trí</td>
                <td>
                	<p>
        				<?php $check_place = isset( $_POST['place'] ) ? (int)$_POST['place'] : 3; ?>
                        <input <?php if( $check_place == 0 ) echo 'checked="checked"'; ?> type="radio" name="place" value="0" /> <span>Trên đầu</span>
                        <input <?php if( $check_place == 1 ) echo 'checked="checked"'; ?> type="radio" name="place" value="1" /> <span>Bên phải</span>
                        <input <?php if( $check_place == 2 ) echo 'checked="checked"'; ?> type="radio" name="place" value="2" /> <span>Phía dưới</span>
                        <input <?php if( $check_place == 3 ) echo 'checked="checked"'; ?> type="radio" name="place" value="3" /> <span>Bên trái</span>                        
                     </p>
                </td>
            </tr>
            <tr>
                <td>Hiển thị</td>
                <td>
                	<p>
						<?php $check_status = isset( $_POST['status'] ) ? (int)$_POST['status'] : 1; ?>
                    	<input <?php if( $check_status == 1 ) echo 'checked="checked"'; ?> type="radio" name="status" value="1" /> <span>Có</span>
                    	<input <?php if( $check_status == 0 ) echo 'checked="checked"'; ?> type="radio" name="status" value="0" /> <span>Không</span>
                    </p>
                </td>
            </tr>
            <tr>
                <td></td>
                <td><input type="submit" name="submit" value="Tạo menu" class="button" /> <input type="reset" name="reset" value="Làm lại" class="button" /></td>
            </tr>
        </table>
    </form>
    </div>